File transmission method and system thereof

ABSTRACT

The invention provides a file transmitting method and system. The file transmitting method is used for a system comprising N network file systems, N file receiving and forwarding servers, N network access servers, N client servers and N backstage servers that are in a one-to-one correspondence with the network file systems, comprising: the backstage server sends a file transmitting request to the file receiving and forwarding server, the file transmitting request comprises information on the file sending party, the file destination party and the file to be transmitted; the file receiving and forwarding server verifies the legitimacy of the file transmitting request; if legitimate, a file is transmitted between the file sending party and the file destination party; otherwise, a response that prohibits the transmitting is generated and returned to the backstage server that initiated the request. With the invention, transmission of files can be realized.

FIELD OF THE INVENTION

The invention relates to the technical field of data processing, inparticular, to a file transmitting method and system.

BACKGROUND

The most common end to end file transmission must be consistent innetwork protocol, in direct connection, timely, on-line, completelyactive or completely passive; it can neither fulfill a transmission at agiven time, nor transfer the file according to the requirements bydifferent clients or in case of abnormality of client, nor support across network and cross platform transmission.

Chinese patent issue No. CN101355476B discloses a data file storing,distributing and applying system and method based on a server cluster.This system comprises a plurality of server clusters that aredistributed on the internet, wherein each server cluster comprises aplurality of servers that are disposed on a metropolitan area network ora local area network, and the servers can be divided into a managementserver, an application server and a network file server; the serverswithin the clusters can connected to each other via the metropolitanarea network or a local area network, and the server clusters ofdifferent metropolitan area networks are connected to each other viainternet or a wide area network. The server cluster is distributed at alocation that is closet to the user, and is connected to the client ofthe user through a metropolitan area network, an access network or alocal area network. The management server is responsible for themanagement of the cluster to which it belongs, including the managementof the server, the user, data file and application programs, as well ascommunication and coordination with other clusters. The applicationserver runs application software and provides the user with applicationservice through a network. The network file system provides a storagespace for storing and distributing data file.

Though Chinese patent issue No. CN101355476B proposes a filetransmitting system, it has many specific service logics and is appliedto many clusters on the internet, and is complicated in structure.

SUMMARY OF THE INVENTION

In view of the above, the invention provides a file transmitting systemand method for transmitting files.

The invention provides a file transmitting method, which is used for asystem comprising N network file systems, N file receiving andforwarding servers, N network access servers, N client servers and Nbackstage servers that are in a one-to-one correspondence with thenetwork file systems, the file transmitting method comprising:

the backstage server sends a file transmitting request to the filereceiving and forwarding server, which file transmitting requestcomprises information on the file sending party, the file destinationparty and the file to be transmitted;the file receiving and forwarding server verifies the legitimacy of thefile transmitting request; if legitimate, a subsequent step isperformed; otherwise, a response that prohibits the transmitting isgenerated and returned to the backstage server that initiated therequest;if it is determined that the file sending party is the backstage serverthat initiated the request, the file receiving and forwarding serverdetermines whether the file destination party is another backstageserver or the client server;if the file destination party is another backstage server, the filereceiving and forwarding server reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party;if the file destination party is the client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and the client server, and a file is read from anetwork file system that corresponds to the file sending party accordingto the information on the file to be transmitted, and is forwarded tothe client server;if it is determined that the file destination party is the backstageserver that initiated the request, the file receiving and forwardingserver determines whether the file sending party is another backstageserver or the client server;if the file sending party is another backstage server, the filereceiving and forwarding server reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party;if the file destination party is the client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and the client server, and the client server isinformed to send file according to the information on the file to betransmitted and the received file is stored in a network file systemthat corresponds to the backstage server that initiated the request.

The invention also provides a file transmitting method, which is usedfor a system comprising N network file systems, N file receiving andforwarding servers, N network access servers, N client servers and Nbackstage servers that are in a one-to-one correspondence with thenetwork file systems, the file transmitting method comprising:

the client server sends a file transmitting request to the filereceiving and forwarding server through the network access server, whichfile transmitting request comprises information on the file sendingparty, the file receiving party and the file to be transmitted;the file receiving and forwarding server verifies the legitimacy of thefile transmitting request; if legitimate, a subsequent step isperformed; otherwise, a response that prohibits the transmitting isgenerated and returned to the client server that initiated the request;if it is determined that the file sending party is the client serverthat initiated the request, the file receiving and forwarding serverdetermines whether the file destination party is the backstage server,another client server or this file receiving and forwarding server;

if the file destination party is the backstage server, the client serveris informed to send file according to the information on the file to betransmitted, and the received file is stored in a network file systemthat corresponds to the file destination party;

if the file destination party is another client server, the networkaccess server is informed to establish a connection between the filereceiving and forwarding server and said another client server, and theclient server is informed to send file according to the information onthe file to be transmitted and the received file is forwarded to saidanother client server;if the file destination party is the file receiving and forwardingserver, a network file system is designated according to a loadbalancing principle, and the client server is informed to send fileaccording to the information on the file to be transmitted and thereceived file is stored in the designated network file system;if it is determined that the file destination party is the client serverthat initiated the request, the file receiving and forwarding serverdetermines whether the file sending party is the backstage server,another client server or this file receiving and forwarding server;if the file sending party is the backstage server, a file is read from anetwork file system that corresponds to the backstage server accordingto the information on the file to be transmitted, and the received fileis forwarded to the client server that initiated the request;if the file sending party is another client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and said another client server, and said anotherclient server is informed to send file according to the information onthe file to be transmitted and the received file is forwarded to theclient server that initiated the request;if the file sending party is the file receiving and forwarding server, anetwork file system is determined according to the information on thefile to be transmitted, a file is read from the determined network filesystem and the read file is forwarded to the client server thatinitiated the request.

Preferably, in the above file transmitting method of the invention, whenthe file receiving and forwarding server determines that the filesending party is the client server that initiated the request and thefile destination party is another client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and said another client server;

said another client server is informed by the network access server toreceive file;when the file receiving and forwarding server receives a response thatpermits the transmitting, the received file is forwarded to said anotherclient server;when a response that prohibits the transmitting is received, a networkfile system is designated according to a load balancing principle, andthe received file is stored in the designated network file system; afile transmitting request that is to be processed is generated in whichthe file sending party is the file receiving and forwarding server andthe file destination party is said another client server, and after apredetermined time period, the file transmitting request is performeduntil said another client server receives the file.

Preferably, in the above file transmitting method of the invention, whenthe file receiving and forwarding server determines that the filesending party is another client server and the file destination party isthe client server that initiated the request, the network access serveris informed to establish a connection between the file receiving andforwarding server and said another client server;

said another client server is informed by the network access server tosend file;when the file receiving and forwarding server receives a response thatpermits the transmitting, receives the file from said another clientserver;when a response that prohibits the transmitting is received, a firstfile transmitting request that is to be processed and a second filetransmitting request that is to be processed are generated; in the firstfile transmitting request that is to be processed, the file sendingparty is said another client server, and the file destination party isthe file receiving and forwarding server; and in the second filetransmitting request that is to be processed, the file sending party isthe file receiving and forwarding server, and the file destination partyis the client server that initiated the request;after a predetermined time, the first file transmitting request that isto be processed is performed;after successfully performing the first file transmitting request thatis to be processed, the second file transmitting request that is to beprocessed is performed.

Preferably, in the above file transmitting method of the invention, thefile transmitting method further comprises:

the file receiving and forwarding server generates a file transmittingresult message and sends it to the backstage server that initiated therequest.

Preferably, in the above file transmitting method of the invention,before the file receiving and forwarding server forwards the file to theclient server, the file is pre-processed in order to generate a filethat meets the requirements on the file format of the client server, andthe pre-processed file is sent to the client server.

Preferably, in the above file transmitting method of the invention, thefile transmitting request further comprises timing information, and theabove file transmitting method further comprises that in case that thefile receiving and forwarding server determines the file transmittingrequest is legitimate, the file receiving and forwarding serverdetermines whether the timing information is satisfied; if satisfied, asubsequent step is performed; otherwise, the file receiving andforwarding server records the file transmitting request as a filetransmitting request that is to be processed, and a subsequent step isperformed after the timing information is satisfied.

The invention provides a file transmitting system which comprises N filereceiving and forwarding servers, N network access servers, N clientservers and N backstage servers that are in a one-to-one correspondencewith the network file systems, and the file receiving and forwardingserver comprises a verification module and a file receiving andforwarding module, wherein:

the backstage server sends a file transmitting request to theverification module of the file receiving and forwarding server, whichfile transmitting request comprises information on the file sendingparty, the file destination party and the file to be transmitted;the verification module of the file receiving and forwarding serververifies the legitimacy of the file transmitting request; if legitimate,the file transmitting request is forwarded to the file receiving andforwarding module; otherwise, a response that prohibits the transmittingis generated and returned to the backstage server that initiated therequest;if it is determined that the file sending party is the backstage serverthat initiated the request, the file receiving and forwarding moduledetermines whether the file destination party is another backstageserver or the client server;if the file destination party is another backstage server, the filereceiving and forwarding module reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party;if the file destination party is the client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and the client server, and a file is read from anetwork file system that corresponds to the file sending party accordingto the information on the file to be transmitted, and is forwarded tothe client server;if it is determined that the file destination party is the backstageserver that initiated the request, the file receiving and forwardingmodule determines whether the file sending party is another backstageserver or the client server;if the file sending party is the another backstage server, the filereceiving and forwarding server reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party;if the file sending party is the client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and the client server, and the client server isinformed to send file according to the information on the file to betransmitted and the received file is stored in a network file systemthat corresponds to the backstage server that initiated the request.

The invention also provides a file transmitting system which comprises Nfile receiving and forwarding servers, N network access servers, Nclient servers and N backstage servers that are in a one-to-onecorrespondence with the network file systems, and the file receiving andforwarding server comprises a verification module and a file receivingand forwarding module, wherein:

the client server sends a file transmitting request to the verificationmodule of the file receiving and forwarding server through the networkaccess server, which file transmitting request comprises information onthe file sending party, the file receiving party and the file to betransmitted;the verification module of the file receiving and forwarding serververifies the legitimacy of the file transmitting request; if legitimate,the file transmitting request is forwarded to the file receiving andforwarding module; otherwise, a response that prohibits the transmittingis generated and returned to the client server that initiated therequest;if it is determined that the file sending party is the client serverthat initiated the request, the file receiving and forwarding moduledetermines whether the file destination party is the backstage server,another client server or this file receiving and forwarding server;if the file destination party is the backstage server, the client serveris informed to send file according to the information on the file to betransmitted, and the received file is stored in a network file systemthat corresponds to the file destination party;if the file destination party is another client server, the networkaccess server is informed to establish a connection between the filereceiving and forwarding server and said another client server, and theclient server is informed to send file according to the information onthe file to be transmitted and the received file is forwarded to saidanother client server;if the file destination party is the file receiving and forwardingserver, a network file system is designated according to a loadbalancing principle, and the client server is informed to send fileaccording to the information on the file to be transmitted and thereceived file is stored in the designated network file system;if it is determined that the file destination party is the client serverthat initiated the request, the file receiving and forwarding moduledetermines whether the file sending party is the backstage server,another client server or this file receiving and forwarding server;if the file sending party is the backstage server, a file is read from anetwork file system that corresponds to the backstage server accordingto the information on the file to be transmitted, and the received fileis forwarded to the client server that initiated the request;if the file sending party is another client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and said another client server, and said anotherclient server is informed to send file according to the information onthe file to be transmitted and the received file is forwarded to theclient server that initiated the request;if the file sending party is the file receiving and forwarding server, anetwork file system is determined according to the information on thefile to be transmitted, a file is read from the determined network filesystem and the read file is forwarded to the client server thatinitiated the request.

Preferably, in the above file transmitting system of the invention, whenthe file receiving and forwarding module determines that the filesending party is the client server that initiated the request and thefile destination party is another client server, the network accessserver is informed to establish a connection between the file receivingand forwarding server and said another client server;

said another client server is informed by the network access server toreceive file;when a response that permits the transmitting is received, the receivedfile is forwarded to said another client server;when a response that prohibits the transmitting is received, a networkfile system is designated according to a load balancing principle, andthe received file is stored in the designated network file system; afile transmitting request that is to be processed is generated in whichthe file sending party is the file receiving and forwarding server andthe file destination party is said another client server, and after apredetermined time period, the file transmitting request is performeduntil said another client server receives the file.

Preferably, in the above file transmitting system of the invention, whenthe file receiving and forwarding module determines that the filesending party is another client server and the file destination party isthe client server that initiated the request, the network access serveris informed to establish a connection between the file receiving andforwarding server and said another client server;

said another client server is informed by the network access server tosend file;when a response that permits the transmitting is received, the file isreceived from said another client server;when a response that prohibits the transmitting is received, a firstfile transmitting request that is to be processed and a second filetransmitting request that is to be processed are generated; in the firstfile transmitting request that is to be processed, the file sendingparty is said another client server, and the file destination party isthe file receiving and forwarding server; and in the second filetransmitting request that is to be processed, the file sending party isthe file receiving and forwarding server, and the file destination partyis the client server that initiated the request;after a predetermined time, the first file transmitting request that isto be processed is performed;after successfully performing the first file transmitting request thatis to be processed, the second file transmitting request that is to beprocessed is performed.

Preferably, in the above file transmitting system of the invention, thefile receiving and forwarding module generates a file transmittingresult message and sends it to the backstage server that initiated therequest.

Preferably, in the above file transmitting system of the invention,before the file receiving and forwarding module forwards the file to theclient server, the file is pre-processed in order to generate a filethat meets the requirements on the file format of the client server, andthe pre-processed file is sent to the client server.

Preferably, in the above file transmitting system of the invention, thefile transmitting request further comprises timing information, and thefile receiving and forwarding module determines whether the timinginformation is satisfied; if satisfied, the file transmitting request isprocessed; otherwise, the file receiving and forwarding module recordsthe file transmitting request as a file transmitting request that is tobe processed, and the file transmitting request is processed after thetiming information is satisfied.

With the invention, a transmission of file can be realized. With themethod and system of the invention, on-line transfer of files, off-linetransfer of files, and a one-to-many on-line transmission of files at ainstant time or given time across different networks in an end-to-endmanner can be realized on the network between the file receiving andforwarding server and the client server. Moreover, the transmissionresult of file can be recorded and informed accurately.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 schematically shows a structure view of the file transmittingsystem of an embodiment of the invention;

FIG. 2 schematically shows a structure view of the file transmittingsystem of another embodiment of the invention;

FIG. 3 schematically shows a flowchart of the file transmitting methodof an embodiment of the invention; and

FIG. 4 schematically shows a flowchart of the file transmitting methodof another embodiment of the invention.

DETAILED DESCRIPTION OF THE INVENTION

Preferred embodiments of the invention will be described below withreference to the accompanying drawings, in which identical referencenumbers indicate identical elements.

FIG. 1 schematically shows a structure view of the file transmittingsystem of an embodiment of the invention. As shown in FIG. 1, the filetransmitting system comprises N network file systems 11-1N, N filereceiving and forwarding servers 21-2N, N network access servers 31-3N,N client servers 41-4N and N backstage servers 51-5N, wherein N is anatural number. The backstage servers 51-5N are in a one-to-onecorrespondence with the network file systems 11-1N. The network accessserver is a network apparatus that has a load balancing capability, andis responsible for establishing a connection between the file receivingand forwarding server and the client server.

Each file receiving and forwarding server comprises a verificationmodule and a file transmitting module. In FIG. 1, the verificationmodule 210 and the file transmitting module 211 are only shown in thefile receiving and forwarding server 21 for simplifying illustration.However, it is understood that each of the other file receiving andforwarding servers 22-2N comprises respective verification module andfile transmitting module.

The backstage server (e.g., the backstage server 51) sends a filetransmitting request to the verification module 210 of the filereceiving and forwarding server (e.g., the file receiving and forwardingserver 21), which file transmitting request comprises information on thefile sending party, the file destination party and the file to betransmitted. The verification module 210 verifies the legitimacy of thefile transmitting request; if legitimate, the file transmitting requestis forwarded to the file receiving and forwarding module 211 so that thefile receiving and forwarding module 211 can process the filetransmitting request; otherwise, a response that prohibits thetransmitting is generated and returned to the backstage server 51 thatinitiated the request.

If it is determined that the file sending party is the backstage server51 that initiated the request, the file receiving and forwarding module211 determines whether the file destination party is another backstageserver (e.g., the backstage server 52) or the client server (e.g., theclient server 41). If the file destination party is another backstageserver 52, the file receiving and forwarding module 211 reads a filefrom a network file system (e.g., the network file system 11) thatcorresponds to the file sending party 51 according to the information onthe file to be transmitted, and stores the file in a network file system12 that corresponds to the file destination party (i.e., the backstageserver 52). If the file destination party is the client server (e.g.,the client server 41), the network access server (e.g., the networkaccess server 31) is informed to establish a connection between the filereceiving and forwarding server 21 and the client server 41, and a fileis read from a network file system 11 that corresponds to the filesending party (i.e., the backstage server 51) according to theinformation on the file to be transmitted, and is forwarded to theclient server 41. Preferably, before the file receiving and forwardingmodule 211 forwards the file to the client server 41, the file ispre-processed in order to generate a file that meets the requirements onthe file format of the client server 41, and the pre-processed file issent to the client server 41.

If it is determined that the file destination party is the backstageserver 51 that initiated the request, the file receiving and forwardingmodule 211 determines whether the file sending party is anotherbackstage server (e.g., the backstage server 52) or the client server(e.g., the client server 41).

If the file sending party is another backstage server 52, the filereceiving and forwarding module 211 reads a file from a network filesystem 12 that corresponds to the file sending party 52 according to theinformation on the file to be transmitted, and stores the file in anetwork file system 11 that corresponds to the file destination party51.

If the file sending party is the client server 41, the file receivingand forwarding module 211 informs the network access server (e.g., thenetwork access server 31) to establish a connection between the filereceiving and forwarding server 21 and the client server 41, informs theclient server 41 to send file according to the information on the fileto be transmitted and the received file is stored in a network filesystem 11 that corresponds to the backstage server 51 that initiated therequest.

Preferably, the file transmitting request further comprises timinginformation, and the file receiving and forwarding module 211 firstlydetermines whether the timing information is satisfied; if satisfied,the file transmitting request is processed; otherwise, the filereceiving and forwarding module 211 records the file transmittingrequest as a file transmitting request that is to be processed, and thefile transmitting request is processed after the timing information issatisfied.

Preferably, the file receiving and forwarding server 211 furthergenerates a file transmitting result message and sends it to thebackstage server 51 that initiated the request.

FIG. 2 schematically shows a structure view of the file transmittingsystem of another embodiment of the invention. As shown in FIG. 2, thefile transmitting system comprises N network file systems 11′-1N′, Nfile receiving and forwarding servers 21′-2N′, N network access servers31′-3N′, N client servers 41′-4N′ and N backstage servers 51′-5N′,wherein N is a natural number. The backstage servers 51′-5N′ are in aone-to-one correspondence with the network file systems 11′-1N′.

Each file receiving and forwarding server comprises a verificationmodule and a file transmitting module. In FIG. 2, the verificationmodule 210′ and the file transmitting module 211′ are only shown in thefile receiving and forwarding server 21′ for simplifying illustration.However, it is understood that each of the other file receiving andforwarding servers 22′-2N′ comprises respective verification module andfile transmitting module.

The client server (e.g., the client server 41′) sends a filetransmitting request to the verification module 210′ of the filereceiving and forwarding server (e.g., the file receiving and forwardingserver 21′) through the network access server (e.g., the network accessserver 31′), which file transmitting request comprises information onthe file sending party, the file destination party and the file to betransmitted.

The verification module 210′ verifies the legitimacy of the filetransmitting request; if legitimate, the file transmitting request isforwarded to the file receiving and forwarding module 211′; otherwise, aresponse that prohibits the transmitting is generated and returned tothe client server 41′ that initiated the request.

If it is determined that the file sending party is the client serverthat initiated the request, the file receiving and forwarding server211′ determines whether the file destination party is the backstageserver (e.g., the backstage server 51′), another client server (e.g.,the client server 42′) or the file receiving and forwarding server 21′;

if the file destination party is the backstage server 51′, the clientserver 41′ is informed to send file according to the information on thefile to be transmitted, and the received file is stored in a networkfile system 31′ that corresponds to the file destination party 51′.

If the file destination party is another client server 42′, the networkaccess server (which could be the network access server 31′ or anothernetwork access server which is assumed to be network server 32′ herein)is informed to establish a connection between the file receiving andforwarding server 21′ and said another client server 42′, and the clientserver 41′ is informed to send file through the network access server31′ according to the information on the file to be transmitted and thereceived file is forwarded to said another client server 42′ through thenetwork access server 32′.

Preferably, before the file receiving and forwarding module 211′forwards the file to the client server 42′, the file is pre-processed inorder to generate a file that meets the requirements on the file formatof the client server 42′, and the pre-processed file is sent to theclient server 42′.

Preferably, after the network access server 32′ establishes a connectionbetween the file receiving and forwarding server 21′ and said anotherclient server 42′, the file receiving and forwarding module 211′ informssaid another client server 42′ through the network access server 32′ toreceive file. When the file receiving and forwarding module 211′receives a response that permits the transmitting, the received file isforwarded to said another client server 42′. When the file receiving andforwarding module 211′ receives a response that prohibits thetransmitting, a network file system (e.g., the network file system 11′)is designated according to a load balancing principle and the receivedfile is stored in the designated network file system 11′; a filetransmitting request that is to be processed is generated in which thefile sending party is the file receiving and forwarding server 21′ andthe file destination party is said another client server 42′, and aftera predetermined time period, the file transmitting request is performeduntil said another client server 42′ receives the file.

If the file destination party is the file receiving and forwardingserver 21′, a network file system (e.g., the network file system 11′) isdesignated according to a load balancing principle, and the clientserver 41′ is informed to send file according to the information on thefile to be transmitted and the received file is stored in the designatednetwork file system 11′.

if it is determined that the file destination party is the client server41′ that initiated the request, the file receiving and forwarding server211′ determines whether the file sending party is the backstage server(e.g., the backstage server 51′), another client server (e.g., theclient server 42′) or the file receiving and forwarding server 21′.

If the file sending party is the backstage server 51′, a file is readfrom a network file system 11′ that corresponds to the backstage server51′ according to the information on the file to be transmitted, and thereceived file is forwarded to the client server 41′ that initiated therequest.

If the file sending party is another client server 42′, the networkaccess server (which could be the network access server 31′ or anothernetwork access server which is assumed to be network server 32′ herein)is informed to establish a connection between the file receiving andforwarding server 21′ and said another client server 42′, and saidanother client server 42′ is informed to send file according to theinformation on the file to be transmitted and the received file isforwarded to the client server 41′ that initiated the request.

Preferably, before the file receiving and forwarding module 211′forwards the file to the client server 41′, the file is pre-processed inorder to generate a file that meets the requirements on the file formatof the client server 41′, and the pre-processed file is sent to theclient server 41′.

Preferably, after the network access server 32′ establishes a connectionbetween the file receiving and forwarding server 21′ and said anotherclient server 42′, the file receiving and forwarding module 211′ informssaid another client server 42′ through the network access server 32′ tosend file. When the file receiving and forwarding module 211′ receives aresponse that permits the transmitting, receives the file from saidanother client server 42′ and the received file is forwarded to theclient server 41′ that initiated the request. When the file receivingand forwarding module 211′ receives a response that prohibits thetransmitting, a first file transmitting request that is to be processedand a second file transmitting request that is to be processed aregenerated; in the first file transmitting request that is to beprocessed, the file sending party is said another client server 42′, andthe file destination party is the file receiving and forwarding server21′; and in the second file transmitting request that is to beprocessed, the file sending party is the file receiving and forwardingserver 21′, and the file destination party is the client server 41′ thatinitiated the request. After a predetermined time, file receiving andforwarding module 211′ performs the first file transmitting request thatis to be processed, and after successfully performing the first filetransmitting request that is to be processed, the second filetransmitting request that is to be processed is performed.

If the file sending party is the file receiving and forwarding server21′, a network file system (i.e.., the network file system that storesthe file to be transmitted and is assumed to be the network file system11′ herein) is determined according to the information on the file to betransmitted, a file is read from the determined network file system 11′,and the received file is forwarded to the client server 41′ thatinitiated the request.

Preferably, the file transmitting request further comprises timinginformation, and the file receiving and forwarding module 211′ firstlydetermines whether the timing information is satisfied; if satisfied,the file transmitting request is processed; otherwise, the filereceiving and forwarding module 211′ records the file transmittingrequest as a file transmitting request that is to be processed, and thefile transmitting request is processed after the timing information issatisfied.

FIG. 3 schematically shows a flowchart of the file transmitting methodof an embodiment of the invention. The file transmitting method is usedfor a system comprising N network file systems, N file receiving andforwarding servers, N network access servers,

N client servers and N backstage servers that are in a one-to-onecorrespondence with the network file systems.

As shown in FIG. 3, at step 301, the backstage server sends a filetransmitting request to the file receiving and forwarding server, thefile transmitting request comprises information on the file sendingparty, the file destination party and the file to be transmitted.

at step 302, the file receiving and forwarding server verifies thelegitimacy of the file transmitting request; if legitimate, a subsequentstep is performed; otherwise, a response that prohibits the transmittingis generated and returned to the backstage server that initiated therequest;

at step 303, if it is determined that the file sending party is thebackstage server that initiated the request, the file receiving andforwarding server determines whether the file destination party isanother backstage server or the client server;at step 304, if the file destination party is another backstage server,the file receiving and forwarding server reads a file from a networkfile system that corresponds to the file sending party according to theinformation on the file to be transmitted, and stores the file in anetwork file system that corresponds to the file destination party;at step 305, if the file destination party is the client server, thenetwork access server is informed to establish a connection between thefile receiving and forwarding server and the client server, and a fileis read from a network file system that corresponds to the file sendingparty according to the information on the file to be transmitted, and isforwarded to the client server;at step 306, if it is determined that the file destination party is thebackstage server that initiated the request, the file receiving andforwarding server determines whether the file sending party is anotherbackstage server or the client server;at step 307, if the file sending party is another backstage server, thefile receiving and forwarding server reads a file from a network filesystem that corresponds to the file sending party according to theinformation on the file to be transmitted, and stores the file in anetwork file system that corresponds to the file destination party;at step 308, if the file destination party is the client server, thenetwork access server is informed to establish a connection between thefile receiving and forwarding server and the client server, and theclient server is informed to send file according to the information onthe file to be transmitted and the received file is stored in a networkfile system that corresponds to the backstage server that initiated therequest.

Preferably, at step 305, before the file receiving and forwarding moduleforwards the file to the client server, the file is pre-processed inorder to generate a file that meets the requirements on the file formatof the client server, and the pre-processed file is sent to the clientserver.

Preferably, the file transmitting request further comprises timinginformation. At step 302, in case that the file receiving and forwardingmodule determines that the file transmitting request is legitimate, thefile receiving and forwarding server determines whether the timinginformation is satisfied; if satisfied, a subsequent step is performed;otherwise, the file receiving and forwarding server records the filetransmitting request as a file transmitting request that is to beprocessed, and a subsequent step is performed after the timinginformation is satisfied.

Preferably, further at step 309, the file receiving and forwardingserver generates a file transmitting result message and sends it to thebackstage server that initiated the request.

FIG. 4 schematically shows a flowchart of the file transmitting methodof another embodiment of the invention. The file transmitting method isused for a system comprising

N network file systems, N file receiving and forwarding servers, Nnetwork access servers, N client servers and N backstage servers thatare in a one-to-one correspondence with the network file systems.

As shown in FIG. 4, at step 401, the client server sends a filetransmitting request to the verification module of the file receivingand forwarding server through the network access server, which filetransmitting request comprises information on the file sending party,the file receiving party and the file to be transmitted;

at step 402, the verification module of the file receiving andforwarding server verifies the legitimacy of the file transmittingrequest; if legitimate, a subsequent step is performed; otherwise, aresponse that prohibits the transmitting is generated and returned tothe client server that initiated the request;at step 403, if it is determined that the file sending party is theclient server that initiated the request, the file receiving andforwarding module determines whether the file destination party is thebackstage server, another client server or the file receiving andforwarding server;at step 404, if the file destination party is the backstage server, theclient server is informed to send file according to the information onthe file to be transmitted, and the received file is stored in a networkfile system that corresponds to the file destination party;at step 405, if the file destination party is another client server, thenetwork access server is informed to establish a connection between thefile receiving and forwarding server and said another client server, andthe client server is informed to send file according to the informationon the file to be transmitted and the received file is forwarded to saidanother client server;at step 406, if the file destination party is the file receiving andforwarding server, a network file system is designated according to aload balancing principle, and the client server is informed to send fileaccording to the information on the file to be transmitted and thereceived file is stored in the designated network file system;at step 407, if it is determined that the file destination party is theclient server that initiated the request, the file receiving andforwarding module determines whether the file sending party is thebackstage server, another client server or the file receiving andforwarding server;at step 408, if the file sending party is the backstage server, a fileis read from a network file system that corresponds to the backstageserver according to the information on the file to be transmitted, andthe received file is forwarded to the client server that initiated therequest;at step 409, if the file sending party is another client server, thenetwork access server is informed to establish a connection between thefile receiving and forwarding server and said another client server, andsaid another client server is informed to send file according to theinformation on the file to be transmitted and the received file isforwarded to the client server that initiated the request;at step 410, if the file sending party is the file receiving andforwarding server, a network file system is determined according to theinformation on the file to be transmitted, a file is read from thedetermined network file system and the read file is forwarded to theclient server that initiated the request.

Preferably, at step 405, when the file receiving and forwarding moduledetermines that the file sending party is the client server thatinitiated the request and the file destination party is another clientserver, the network access server is informed to establish a connectionbetween the file receiving and forwarding server and said another clientserver;

said another client server is informed by the network access server toreceive file;when the file receiving and forwarding server receives a response thatpermits the transmitting, the received file is forwarded to said anotherclient server;when a response that prohibits the transmitting is received, a networkfile system is designated according to a load balancing principle, andthe received file is stored in the designated network file system; afile transmitting request that is to be processed is generated in whichthe file sending party is the file receiving and forwarding server andthe file destination party is said another client server, and after apredetermined time period, the file transmitting request is performeduntil said another client server receives the file.

Preferably, at step 409, when the file receiving and forwarding moduledetermines that the file sending party is another client server and thefile destination party is the client server that initiated the request,the network access server is informed to establish a connection betweenthe file receiving and forwarding server and said another client server;

said another client server is informed by the network access server tosend file;when the file receiving and forwarding server receives a response thatpermits the transmitting, the file received from said another clientserver and the received file is forwarded to the client server thatinitiated the request;when a response that prohibits the transmitting is received, a firstfile transmitting request that is to be processed and a second filetransmitting request that is to be processed are generated; in the firstfile transmitting request that is to be processed, the file sendingparty is said another client server, and the file destination party isthe file receiving and forwarding server; and in the second filetransmitting request that is to be processed, the file sending party isthe file receiving and forwarding server, and the file destination partyis the client server that initiated the request;after a predetermined time, the first file transmitting request that isto be processed is performed;after successfully performing the first file transmitting request thatis to be processed, the second file transmitting request that is to beprocessed is performed.

Before the file receiving and forwarding module forwards the file to theclient server, the file is pre-processed in order to generate a filethat meets the requirements on the file format of the client server, andthe pre-processed file is sent to the client server.

Preferably, the file transmitting request further comprises timinginformation. Further, at step 402, in case that the file receiving andforwarding module determines that the file transmitting request islegitimate, the file receiving and forwarding server determines whetherthe timing information is satisfied; if satisfied, a subsequent step isperformed; otherwise, the file receiving and forwarding server recordsthe file transmitting request as a file transmitting request that is tobe processed, and a subsequent step is performed after the timinginformation is satisfied.

With the invention, a file transmitting can be realized between abackstage server and a client server, between backstage servers andbetween client servers, whereas there is no real network connectionbetween the backstage server and the client server as well as betweenclient servers, thus unitizing specifications and reducing investmentson software and hardwares.

Further, since timing information can be provided in the filetransmitting request, a file transmitting at a given time can berealized. Further, in case of failure of client server, a task pollingservice of the file receiving and forwarding server can be used to redoautomatically, thereby further ensuring the reliability of filetransmission.

Preferably, encryption and MAC verification can be performed during filetransmission so as to further improve the safety in file transmission.

Further, each application server can be provided with different versionsof application programs. For different packages, the N servers do notinterfere with each other. When the system is being updated, the Nservers can be updated in sequence, thus enabling an update withoutshutting down the system.

In view of the above teaching, those skilled in the art can easilyenvisage other embodiments, combinations and modifications of theinvention. Therefore, the invention is merely defined by the claims whentaken in combination with the above description and the accompanyingdrawings.

1. A file transmitting method, which is used for a system comprising Nnetwork file systems, N file receiving and forwarding servers, N networkaccess servers, N client servers and N backstage servers that are in aone-to-one correspondence with the network file systems, the filetransmitting method comprising: the backstage server sends a filetransmitting request to the file receiving and forwarding server, whichfile transmitting request comprises information on the file sendingparty, the file destination party and the file to be transmitted; thefile receiving and forwarding server verifies the legitimacy of the filetransmitting request; if legitimate, a subsequent step is performed;otherwise, a response that prohibits the transmitting is generated andreturned to the backstage server that initiated the request; if it isdetermined that the file sending party is the backstage server thatinitiated the request, the file receiving and forwarding serverdetermines whether the file destination party is another backstageserver or the client server; if the file destination party is anotherbackstage server, the file receiving and forwarding server reads a filefrom a network file system that corresponds to the file sending partyaccording to the information on the file to be transmitted, and storesthe file in a network file system that corresponds to the filedestination party; if the file destination party is the client server,the network access server is informed to establish a connection betweenthe file receiving and forwarding server and the client server, and afile is read from a network file system that corresponds to the filesending party according to the information on the file to betransmitted, and is forwarded to the client server; if it is determinedthat the file destination party is the backstage server that initiatedthe request, the file receiving and forwarding server determines whetherthe file sending party is another backstage server or the client server;if the file sending party is another backstage server, the filereceiving and forwarding server reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party; if the filedestination party is the client server, the network access server isinformed to establish a connection between the file receiving andforwarding server and the client server, and the client server isinformed to send file according to the information on the file to betransmitted and the received file is stored in a network file systemthat corresponds to the backstage server that initiated the request. 2.A file transmitting method, which is used for a system comprising Nnetwork file systems, N file receiving and forwarding servers, N networkaccess servers, N client servers and N backstage servers that are in aone-to-one correspondence with the network file systems, the filetransmitting method comprising: the client server sends a filetransmitting request to the file receiving and forwarding server throughthe network access server, the file transmitting request comprisesinformation on the file sending party, the file receiving party and thefile to be transmitted; the file receiving and forwarding serververifies the legitimacy of the file transmitting request; if legitimate,a subsequent step is performed; otherwise, a response that prohibits thetransmitting is generated and returned to the client server thatinitiated the request; if it is determined that the file sending partyis the client server that initiated the request, the file receiving andforwarding server determines whether the file destination party is thebackstage server, another client server or this file receiving andforwarding server; if the file destination party is the backstageserver, the client server is informed to send file according to theinformation on the file to be transmitted, and the received file isstored in a network file system that corresponds to the file destinationparty; if the file destination party is another client server, thenetwork access server is informed to establish a connection between thefile receiving and forwarding server and said another client server, andthe client server is informed to send file according to the informationon the file to be transmitted and the received file is forwarded to saidanother client server; if the file destination party is the filereceiving and forwarding server, a network file system is designatedaccording to a load balancing principle, and the client server isinformed to send file according to the information on the file to betransmitted and the received file is stored in the designated networkfile system; if it is determined that the file destination party is theclient server that initiated the request, the file receiving andforwarding server determines whether the file sending party is thebackstage server, another client server or this file receiving andforwarding server; if the file sending party is the backstage server, afile is read from a network file system that corresponds to thebackstage server according to the information on the file to betransmitted, and the received file is forwarded to the client serverthat initiated the request; if the file sending party is another clientserver, the network access server is informed to establish a connectionbetween the file receiving and forwarding server and said another clientserver, and said another client server is informed to send fileaccording to the information on the file to be transmitted and thereceived file is forwarded to the client server that initiated therequest; if the file sending party is the file receiving and forwardingserver, a network file system is determined according to the informationon the file to be transmitted, a file is read from the determinednetwork file system and the read file is forwarded to the client serverthat initiated the request.
 3. The file transmitting method according toclaim 2, characterized in that when the file receiving and forwardingserver determines that the file sending party is the client server thatinitiated the request and the file destination party is another clientserver, the network access server is informed to establish a connectionbetween the file receiving and forwarding server and said another clientserver; said another client server is informed by the network accessserver to receive file; when the file receiving and forwarding serverreceives a response that permits the transmitting, the received file isforwarded to said another client server; when a response that prohibitsthe transmitting is received, a network file system is designatedaccording to a load balancing principle, and the received file is storedin the designated network file system; a file transmitting request thatis to be processed is generated in which the file sending party is thefile receiving and forwarding server and the file destination party issaid another client server, and after a predetermined time period, thefile transmitting request is performed until said another client serverreceives the file.
 4. The file transmitting method according to claim 2,characterized in that when the file receiving and forwarding serverdetermines that the file sending party is another client server and thefile destination party is the client server that initiated the request,the network access server is informed to establish a connection betweenthe file receiving and forwarding server and said another client server;said another client server is informed by the network access server tosend file; when the file receiving and forwarding server receives aresponse that permits the transmitting, receives the file from saidanother client server; when a response that prohibits the transmittingis received, a first file transmitting request that is to be processedand a second file transmitting request that is to be processed aregenerated; in the first file transmitting request that is to beprocessed, the file sending party is said another client server, and thefile destination party is the file receiving and forwarding server; andin the second file transmitting request that is to be processed, thefile sending party is the file receiving and forwarding server, and thefile destination party is the client server that initiated the request;after a predetermined time, the first file transmitting request that isto be processed is performed; after successfully performing the firstfile transmitting request that is to be processed, the second filetransmitting request that is to be processed is performed.
 5. The filetransmitting method according to claim 1, characterized in that the filetransmitting method further comprises: the file receiving and forwardingserver generates a file transmitting result message and sends it to thebackstage server that initiated the request.
 6. The file transmittingmethod according to any of claims 1-5, characterized in that before thefile receiving and forwarding server forwards the file to the clientserver, the file is pre-processed in order to generate a file that meetsthe requirements on the file format of the client server, and thepre-processed file is sent to the client server.
 7. The filetransmitting method according to any of claims 1-5, characterized inthat the file transmitting request further comprises timing information,and the above file transmitting method further comprises that in casethat the file receiving and forwarding server determines the filetransmitting request is legitimate, the file receiving and forwardingserver determines whether the timing information is satisfied; ifsatisfied, a subsequent step is performed; otherwise, the file receivingand forwarding server records the file transmitting request as a filetransmitting request that is to be processed, and a subsequent step isperformed after the timing information is satisfied.
 8. A filetransmitting system, characterized in that the file transmitting systemcomprises N file receiving and forwarding servers, N network accessservers, N client servers and N backstage servers that are in aone-to-one correspondence with the network file systems, and the filereceiving and forwarding server comprises a verification module and afile receiving and forwarding module, wherein: the backstage serversends a file transmitting request to the verification module of the filereceiving and forwarding server, which file transmitting requestcomprises information on the file sending party, the file destinationparty and the file to be transmitted; the verification module of thefile receiving and forwarding server verifies the legitimacy of the filetransmitting request; if legitimate, the file transmitting request isforwarded to the file receiving and forwarding module; otherwise, aresponse that prohibits the transmitting is generated and returned tothe backstage server that initiated the request; if it is determinedthat the file sending party is the backstage server that initiated therequest, the file receiving and forwarding module determines whether thefile destination party is another backstage server or the client server;if the file destination party is another backstage server, the filereceiving and forwarding module reads a file from a network file systemthat corresponds to the file sending party according to the informationon the file to be transmitted, and stores the file in a network filesystem that corresponds to the file destination party; if the filedestination party is the client server, the network access server isinformed to establish a connection between the file receiving andforwarding server and the client server, and a file is read from anetwork file system that corresponds to the file sending party accordingto the information on the file to be transmitted, and is forwarded tothe client server; if it is determined that the file destination partyis the backstage server that initiated the request, the file receivingand forwarding module determines whether the file sending party isanother backstage server or the client server; if the file sending partyis the another backstage server, the file receiving and forwardingserver reads a file from a network file system that corresponds to thefile sending party according to the information on the file to betransmitted, and stores the file in a network file system thatcorresponds to the file destination party; if the file sending party isthe client server, the network access server is informed to establish aconnection between the file receiving and forwarding server and theclient server, and the client server is informed to send file accordingto the information on the file to be transmitted and the received fileis stored in a network file system that corresponds to the backstageserver that initiated the request.
 9. A file transmitting systemcharacterized in that the file transmitting system comprises N filereceiving and forwarding servers, N network access servers, N clientservers and N backstage servers that are in a one-to-one correspondencewith the network file systems, and the file receiving and forwardingserver comprises a verification module and a file receiving andforwarding module, wherein: the client server sends a file transmittingrequest to the verification module of the file receiving and forwardingserver through the network access server, which file transmittingrequest comprises information on the file sending party, the filereceiving party and the file to be transmitted; the verification moduleof the file receiving and forwarding server verifies the legitimacy ofthe file transmitting request; if legitimate, the file transmittingrequest is forwarded to the file receiving and forwarding module;otherwise, a response that prohibits the transmitting is generated andreturned to the client server that initiated the request; if it isdetermined that the file sending party is the client server thatinitiated the request, the file receiving and forwarding moduledetermines whether the file destination party is the backstage server,another client server or this file receiving and forwarding server; ifthe file destination party is the backstage server, the client server isinformed to send file according to the information on the file to betransmitted, and the received file is stored in a network file systemthat corresponds to the file destination party; if the file destinationparty is another client server, the network access server is informed toestablish a connection between the file receiving and forwarding serverand said another client server, and the client server is informed tosend file according to the information on the file to be transmitted andthe received file is forwarded to said another client server; if thefile destination party is the file receiving and forwarding server, anetwork file system is designated according to a load balancingprinciple, and the client server is informed to send file according tothe information on the file to be transmitted and the received file isstored in the designated network file system; if it is determined thatthe file destination party is the client server that initiated therequest, the file receiving and forwarding module determines whether thefile sending party is the backstage server, another client server orthis file receiving and forwarding server; if the file sending party isthe backstage server, a file is read from a network file system thatcorresponds to the backstage server according to the information on thefile to be transmitted, and the received file is forwarded to the clientserver that initiated the request; if the file sending party is anotherclient server, the network access server is informed to establish aconnection between the file receiving and forwarding server and saidanother client server, and said another client server is informed tosend file according to the information on the file to be transmitted andthe received file is forwarded to the client server that initiated therequest; if the file sending party is the file receiving and forwardingserver, a network file system is determined according to the informationon the file to be transmitted, a file is read from the determinednetwork file system and the read file is forwarded to the client serverthat initiated the request.
 10. The file transmitting method accordingto claim 9, characterized in that when the file receiving and forwardingmodule determines that the file sending party is the client server thatinitiated the request and the file destination party is another clientserver, the network access server is informed to establish a connectionbetween the file receiving and forwarding server and said another clientserver; said another client server is informed by the network accessserver to receive file; when a response that permits the transmitting isreceived, the received file is forwarded to said another client server;when a response that prohibits the transmitting is received, a networkfile system is designated according to a load balancing principle, andthe received file is stored in the designated network file system; afile transmitting request that is to be processed is generated in whichthe file sending party is the file receiving and forwarding server andthe file destination party is said another client server, and after apredetermined time period, the file transmitting request is performeduntil said another client server receives the file.
 11. The filetransmitting method according to claim 9, characterized in that when thefile receiving and forwarding module determines that the file sendingparty is another client server and the file destination party is theclient server that initiated the request, the network access server isinformed to establish a connection between the file receiving andforwarding server and said another client server; said another clientserver is informed by the network access server to send file; when aresponse that permits the transmitting is received, the file is receivedfrom said another client server; when a response that prohibits thetransmitting is received, a first file transmitting request that is tobe processed and a second file transmitting request that is to beprocessed are generated; in the first file transmitting request that isto be processed, the file sending party is said another client server,and the file destination party is the file receiving and forwardingserver; and in the second file transmitting request that is to beprocessed, the file sending party is the file receiving and forwardingserver, and the file destination party is the client server thatinitiated the request; after a predetermined time, the first filetransmitting request that is to be processed is performed; aftersuccessfully performing the first file transmitting request that is tobe processed, the second file transmitting request that is to beprocessed is performed.
 12. The file transmitting method according toclaim 8, characterized in that the file receiving and forwarding modulegenerates a file transmitting result message and sends it to thebackstage server that initiated the request.
 13. The file transmittingmethod according to any of claims 8-12, characterized in that before thefile receiving and forwarding module forwards the file to the clientserver, the file is pre-processed in order to generate a file that meetsthe requirements on the file format of the client server, and thepre-processed file is sent to the client server.
 14. The filetransmitting method according to any of claims 8-12, characterized inthat the file transmitting request further comprises timing information,and the file receiving and forwarding module determines whether thetiming information is satisfied; if satisfied, the file transmittingrequest is processed; otherwise, the file receiving and forwardingmodule records the file transmitting request as a file transmittingrequest that is to be processed, and the file transmitting request isprocessed after the timing information is satisfied.